package com.dzf.service;

import com.dzf.entity.Blog;
import com.dzf.entity.BlogCont;

import java.util.List;
import java.util.Map;

public interface BlogService {
    List<Blog> findByPage(int pageNum,int num);
    List<Blog> findByTops(String msg);
    Map<String, Object> findFuzzy(int pageNum, int num, Map<String,Object> likes);
    BlogCont findById(String blogid);
    boolean amend(BlogCont blogCont);
    public Map<Object, Object> findByBlogType(String typeid, int pageNum);
    List<Blog> findAll(String uid);
    Blog findBlogById(String blogid);
    Boolean delBlogCont(Blog blog);
}
